package com.ewhome.apartment.mvp.model;

/**
 * author:zhangjing
 * 作用:
 * return:
 */

public class ApiException extends RuntimeException{
    int code;
    String msg;

    public ApiException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
